#include <stdio.h>
 #include <unistd.h>

int main()
{
    printf("before:my pid is %d\n", getpid() );
    fork();
    fork();//调用两次fork
    printf("aftre:my pid is %d\n", getpid() );

    return 0;
}
